fix node-js loading plugins from wrong folder