some more javascript stuff