Update deepscan.js

More improvements.
Discovered a bug that is causing the oncomplete handler to be called numerous times per batch.
- Unable to track down.  Fixing this is a TODO.
Upping to 0.5