on{X} javascript script to help with shallow battery discharges by notifying when battery level reaches 40% or 80%.