Updated for v1.4 platform version and latest Firebase
Use latest Firebase lib, fix references and config