[js] support js require
[js] added js.Lib.require (see #2949)
[js] Add "require" to pseudo-keywords list so a local var with the same name doesn't override the global "require" function.
Merge pull request #2949 from nadako/js_require

[js] support js require