enter key fix

fixed the enter key issue for firefox and IE