Adding for var snippet for javascript, fixing require snippet. TODO: remove extra new lines from all snippets.