Merge pull request #141 from jeff1evesque/js_initializer

#140: WebSocket Connected Indicator
#142: Use try-catch with IF statement