add support - commonjs and requirejs