Update deepscan.js

General cleanup