Added functions for Firefox, IE and Chrome directly