add some crossbrowser capability