Cleaning up IdeaLab.js