Update librato.js

Shift attributes into metrics rather than global payload scope.