cleaning up js files