Added UMD wrapper

This is really needed when working with requirejs