Issue #11

All DOM element creations in the irEditor are now done by html templates instead of creating them in the js directly