Fix "complete is undefined" errors
Merge pull request #14 from jrmathis/master

Fix "complete is undefined" errors