I also wanted to change this line; some versions of IE don't support accessing characters of a string like that so we should probably use `charAt` or `slice`.