Move some js filetype stuff to ftplugin.