Better version reference to the dashboard library.
Replace switch-case with jQuery selection for the buttons.
Redirect home to the list of metrics.
Merge pull request #11 from eric-wu/master

Various minor code improvements