Add ajax and history to quote viewer