amd + umd support

Hello!

This PR adds basic support for AMD and UMD that is already in video.js and missing in this plugin.
I've slightly updated jshint config file to pass tests.