screenshot.js with 5000ms timeout