Fix the complete option to stop these errors: 'Uncaught TypeError: Cannot call method 'call' of null'
Merge pull request #13 from tlk/master

Fix the complete option