Fix to make Weinre play nice

Using FakeServer in a standalone environment is great for building a fake API. However when you introduce [Weinre](http://people.apache.org/~pmuellr/weinre/docs/latest/) into the mix, currently you get lots of errors in the console.

This small modification fixes that.