Code refactor: removed unnecessary js file, moved code into captionControl.js as a better place for it. Remove requireJs reference from controller