Using UMD for broader loading support
Swapping onFail for more useful onEmbed

The function signature is the following:

onEmbed: function(wasSuccessful, flashembedRef) {}