prototype formatting for index.html