checking instanceof Function because of weird Safari bug for NodeList
Release 0.2.1