Javascript Alpha Version 0.3

*full documentation of the functions and variables used
*bug of reseting of seconds everytime another group is selected removed
*change of color of line as per the electricity state added
*group list display only on click of group switch and again invisible after group selected