update to support requirejs \ node_webkit