Update javascript.snippets

Remove extra new lines