Fixed JS on the history, my ticket and tab setting