Updated plugin so that the mapping is for only javascript filetypes