Remove isnt undefined
Correct a type on 'registerSource' name
Merge pull request #21 from gguerrero/master

Change the condition on register source