Added CSS markup, converted offset value to date, cleaned up controller
code.