Added support for .json files with file dialogs
Finished JsCodeEvent and its dialog
Added example for Js code event.
Fixed typos in some method names