fix newrelic.coffee

The Newrelic script didn't work (at least on our new hubot). Afaict this was happening because of variables being referenced out of scope.

This fixed it for us.
Merge pull request #1347 from bru/patch-1

fix newrelic.coffee