Occasionally people will save a few bytes by replacing Math.pow with the exponentiation operator **, which is one of the few things that has already been standardised for ES7. As such, if you don't have ES7 handy, you could attempt to replace occurrences of ** with the equivalent Math.pow construct for testing purposes.