Small fixes
Merged function that was split in two parts
Moved repeated code and other variables to the singleton
Added jshint file to try to aid code styling
Found and fixed a few issues
Restored Chrome->ST functionality
Inform the tab that the connection was closed. Closes #13