Edit: scan.js