Fix newrelic.coffee

The newrelic script wasn't working (on our hubot at least). Afaict that was because of variables being called out of their scope.
This fixed it for us.