fixed js syntax error breaking webkit, adding ajax indicator