Math.imul polyfill fix and test