Add UMD wrapper

This is needed to play nice with requirejs setups