Update Scanner.js