[Power] Fix JS style.

Yet another style fix.
Merge pull request #198 from darktears/power-style-fixes

[Power] Fix JS style.