Testing javascript things