working on JS components. adding opening hours- fixed hours bug