KEEP-876 modify plugin to avoid errors in IE