Paramaterized the AJAX urls