adds plugin path to config
fixes remove bug caused by not using $el