Improve passThru function checks

Add checks for the apply() function since it sometimes is still not
defined in IE9.