cleanup of index file, merged with layout.html