removes util._extend which is undefined, also clean up and remove console.logs and extra variables
Merge pull request #1 from calvinmetcalf/cleanup

removes util._extend which is undocumented