someone needs to make the whole library AMD
removed the console.log in historyVIew