fixing bug relative to password change with IE8 and IE9