Move noConflict outside of the actual code

This purifies the code a bit making the actual code agnostic of the environment it runs in. It also doesn't create useless noConflict method in cjs/amd environment