loader_type_bundle: execute js in global context (close #423)