Issue #79, Fix Ajax error