Removed button check, which caused issues for IE8