Renders the index with variable number of games using JST template