amd support

Hello,

It's me again :). This PR adds AMD support that's already in `video.js`