try to send data to firebase and make grunt deploy task more robust