rename app.js to screenshot.js
move websocket global
move websocket global
add input