Update index.js with new user agent.
Fixes login issues.