Change the javascript click events too