Add basic JavaScript snippets