add node.require
fix nodejs stuff
remove nativeSource instead of classdef itself to avoid crash