Safari Support Did not support Number.isNaN