.js file cleanup