Fix ResourceLoader issues

* Add JS file
* Change addModuleStyles to addModules
Class placeholders
Replace diagram with canvas
Allow 'new' constructors, consistent spacing
df-tileset submodule
Remove old canvas.js