continued js tweaks