cleanup and comment effects.js