Added js for clicking and highlighting