Bug 1014418 - Dispatching hardware button event in Gaia

https://bugzilla.mozilla.org/show_bug.cgi?id=1014418
Let's `Object.freeze([ ...])` these arrays on the prototype?