Allows gaffa apps to be created from DOM