Trying to output JS variables in HTML doesn't work too well (I blame @Spuds!)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #501 from Oldiesmann/release-2.1

Trying to output JS variables in HTML doesn't work too well