Fix [#17], disable click event before today. reindent the code.