Added support for loading the file within main.js, rather than requiring an HTML file input in the content script