Adds “;” in the JS snippets