Added stdlib/commonjs.js and factored out getLoadPath