do some refacting
draft index.html