Update index.js with new user agent