JS commit pauls first watthour implementation