JS file cleanup