Fixed unsupported js on some browsers.