Forms, cart ajax and function_exists()