Added js for transition from manage.html to view.html