Removing test elements and fixing javascript.