take screenshot to png
fix input.js