add pty.js patch that was missed in last commit