ES6 syntax nit: Arrow functions ftw? (assuming you want to use ES6 syntax, based on this comment: https://github.com/mozilla-b2g/gaia/pull/13055/files#diff-6cdce1b87ff330a97002f9fa398ccb09R14)