more javascript work