changing ajax from POST to GET