amd + umd support

Hello!

This PR adds support for amd and umd loaders. Though this should be merged only after videojs/videojs-contrib-ads#45 and #45 are merged.

If you have questions - shoot.