Bug in requiring npm Firebase