Fixed JavaScript error when firing a series click event in IE8 using the Standalone Framework. Closes #2465.