adding missing methods in firefox and safari