Scanner.js: Scan with Blank Page Detection