formatting .js files