Added user-agent

Also removed my accidental console.log... whoops