pty.js package from wyliodrin, wifi script