Update reconnect strategy to be slightly less naive
Fix typo and changes to fix jshint warnings