Add extensive ftplugin logic for html and js