use extend module instead of util._extend
Merge pull request #121 from chesles/use-extend

use extend module instead of util._extend