Trying the ajax calls-non working