Remove ajax for getHtml() method
Remove console/error logging