Update Math.imul shim to match MDN

Updated Math.imul shim in header.js to match the shim found at
https://developer.mozilla.org/en-us/docs/JavaScript/Reference/Global_Objects/Math/imul