Added exception handling to ajax reservation callback