Tiny doc update
Moved electricity data munging from ruby to javascript