begin doing ajax queries