throwing an error on circular dependencies #12
handling simplified CommonJS notation