Update index.html

Fixed preview code