Fix IE8 JS issue with global variable conflict.  Props @MPolleke.  Fixes #818.