dried up some more javascript