Add grunt connect

This enable js debug for distributed build
Delay the fetch execution
Temporary wrap firebase with an AMD