Refactored and retabbed the video.js file