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.
This part of the if the commonjs section, so, it would need to be `video.js`. The first if is for AMD.