adding more javascript tests