more fiddling with js