enable neocomplcache in the vim. now the vim can autocomplete very well.\n Change the snippets for javascript