Moved the HTML loader code into the Crafty library so it uses the load() method