Issue #53 Fixed IE8 exception. Cannot pass in undefined or null to IE8 .apply