Fix Math.sign undefined error #30