Add web test for generated Javascript code
Add option to print simulation result as JSON data