a test function in an external javascript file can be called from the jsp file
javascript in separate js file
javascript in separate files and show favorites button added and favorites bug fixed