adding more functionality for viewproject in js and viewProject.html