Consolidate vim javascript syntax checking