cleaning js files