Ajax error resolved!