Fixed JQuery binding issue