starting to separate the util functions into smaller files. is-global added with tests. also a helper.js file was created to hold common utility functions for testing.