Fixed negative number formatting

Using volkszaehler for energy generation meters, e.g. solar power, power production is often shown as negative values. For negative values, `wui.js` is not able to round Wh to kWh and similiar.

This patch fixes the issue.