Add an option to deactivate creation of an extra module object in javascript.

This is useful, if the extension host calls the initializer with custom
local variables.
E.g., this is the case with node.js.