changed callback names to match new jQuery ajax names