slight javascript mods