function.toString() returns different results between node versions. Using instanceof instead
function.toString() returns different results between node versions. Using instanceof instead

mrpapercut/wscript,mrpapercut/wscript,mrpapercut/wscript