Improve history controller for more convenient way to load resources.
Remove console.log.