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.
Is that true? When it's included as a global, the dot is definitely not present.