ie8 compat for isElement

In IE8 e.appendChild is of type `object`.