Try moving getHtml() method into separate file and load it