Fixed re-add ajax bug
Made minor changes
Made minor changes