clean up spacing in js files