more javascript goodies.