Changed id of the link and updated js to handle clicks