Added JSHint syntax/style checking to script editor. May need tweaking. Fixes #86.