wrap the ready function in a class, so wsHost can be customized at runtime, e.g. in blog.heroku.com
Revert to herokuapp.com domain