Added remarks to page_index.coffee

  This coffeescript maybe used by others, so it should be
  well documented.