added is.js to a module, and added a function to accurately determine the class of a function