try javascript plugin
from https://github.com/pangloss/vim-javascript