Tidied up index.ejs to remove repeated lookups
Merge pull request #201 from web-bert/view-tidyup

Tidied up index.ejs to remove repeated lookups