Change click events to us on 'click' binding instead of .click