merge css/js into index.html, fix websocket and add HTTP server