javascript stuff for vim