Now using a nicer UMD method.
Updated the example in the readme.