new module added for cross-browser compability