Ajax example to Firebase