Jsoneditoronline Type Definitions and tests

As requested in the readme file.