refactor isGenerator; fix Makefile

I think it's better to replace blanket with [istanbul](https://github.com/gotwarlost/istanbul) for es6 support.