Rename variable to avoid using reserved word native
Restore use of modulejs as require function
Fix anonymous closure syntax
Use window only for global arg
Add global flag to sed commands
Fix bug in domReady.bind() when document.readyState is already loaded
Rename define and add undef function
Rename getValue and remove unused var in then()
Add properties parameter to api.inherit
Add test for method overrides in api.inherit