Moving files into app.js and video.js