Fix errors on index

Extra quotations resulted in subtracting two strings and then a
javascript syntax error