Firefox pages js should consider esr builds up to date bug 828064

tidy up

tidy up again
stick to js variable naming convention