bugfix: #341
Replace path module to node.js
replace path module from node.js to own making.
Prevent confusing module name and argument name
Bug fix for requirejs plugin.