More JS tweaks.