Fixing double click issue in IE8