Added js for time and added the time to the layout.