format code in index.html