Video handlers js

Fixing up the JS for video handlers extension.