Removed trailing comma
Added common context variables to index page.