Add preliminary factory reset script
Add docs to battery elements
Move moment and chart.js to dependencies of the element