Renamed a lot of internal functions (better naming) and added jquery functionality to render the correct time depending on the current category
Added jquery functionality to render the correct time depending on the current time period