fix typo
use 'hasOwnProperty' to check if loaded
remove unnecessary lodash
hasOwnProperty => indexOf
Merge pull request #2 from shinnn/master

Fix loaded task checking