Minor formatting tweaks to js files