Display file on click

changes in downloadFile() and function added in home.js and home.jsp