put JS in effects.js