Style for date to appear on the right side
Removed date from template so it doesn't repeat
Added date: this..val().trim()
This sets the date object called in the index template