Merge pull request #6 from pazguille/develop

Add support to CommonJS
Remove window word.
Fix tests.
Update tests.