Fix errors on index

Extra quotations resulted in subtracting two strings and then a
javascript syntax error
Merge pull request #3424 from charlierudolph/fix_index

Fix errors on index