Work on JS snippets