some more javascript examples, additions