upgrade underscore
refactor doc viewer history to use backbone's history code
change the doc viewer's history code to use backbone's