Improve passThru function checks

Add checks for the apply() function since it sometimes is still not
defined in IE9.
Merge pull request #2 from jgable/passThruChecks

Improve passThru function checks