Removing # and adding javascript(void) + fixing a bug which was causing the details to be populated everytime the link was clicked