Minor Mods

js changes, formatting