Added watchdog exception statement when ajax calls fails