TBH, I copied this from the flot example.  I believe it's there for earlier IE versions.