.js require cleanup