Worktimes ajax error