manager.js fix to get history working