add value of the day javaScript (part One) -  Gui - bug fix