Fix details summary polyfill

This was causing an error in IE7 and below.