Remove Math.sign usage to remain compatible w/ Safari.