resolve name conflict on node-webkit

use requirejs() instead of require() for running on node-webkit.