Websocket tests
Make AJAX work for local files