Removed test code from elements.js