final touches to javascript tests