Multiple ajax calls fixed