Including the video JS on the main page

This JS page helps with page loading on video events
Fixing indentation
Removing unused end override

We can use the native Video.js end event for reloading the page