Updates to work on recent cowboy api and google chrome 24