added some more stuff into default.html

+ setTimeout() because of websocket fail