showOptionsView and hideOptionsView should not be this file. You may move it back to video.js. And for view.js, it doesn't exist.