Restructure code so it's more maintainable.
 - Breaking monolithic captionator.js into separate files.