Added more javascript tests