Modifying timer function and slight changes in CSS