Replace uses of 'long' with 'lng' because long is a reserved word (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Reserved_Words#In_ECMAScript_2)