Updated web.js for ssh