Added basic styling for date picker errors
Write date ranges to window.hash on change