hopefully helpful help from http://www.to-string.com/2012/09/09/javascript-how-to-pass-an-array-to-math-max/
Merge branch 'master' of https://github.com/samjhill/rit48