test/index.html: move css and js code to separate files