refactoring absolute URIs
Refactoring contextRoot
websocket refactor to match context root
refactor websocket with requirejs, refactor for contextRoot