Added examples for JS basics, exceptions, and JSON, fixes