index update

Updated index.html, cleaned up messy auto code