navigator.mozBattery -> .battery

Given that this is sort of an official demo for the battery API (it's linked from your article at Mozilla Hacks), I think this change is justified so the demo actually works.