Creating SVG manually, know it can be wrapped in a Deferred
Fixed a bug with the JS for use the 'Advanced mode' editing a type of the schema.