change js onclick to jquery .click()