Update index.js

Fix bug with google oauth2 connect (\x01).