Refactoring JS code so that I can write unit tests for it.
Checkpoint check-in for unit tests.
Got basic version of  web services/websocket unit tests working with mocks.