Adding more javascript snippets