Fixed JS for snippet with trailing ;.  Improved highlighting and organization in vimrc.