Unable to add javascript function in hyperlink code.