Dependency management

Cleaned up css and js libraries
Replaced undescore by lodash
Updated history display