Added JS to change page title dynamically