comparing if the type is a function
Merge branch 'patch-1' of https://github.com/brenopolanski/loadJS into brenopolanski-patch-1
callback was undefined, cb is the variable name
Merge branch 'brenopolanski-patch-1'