Tried using flow-js, step-js and async-js to enable async flow to avoid pyramid hell.
Currently, i was successful in making async work with proper and somewhat clean code.
I had flow working 90% but was not satisfied by the library maturity and the code cleanliness that it was giving or the documentation that was available. So, currently it is still there temporarily. Next checkin, all the extraneous code will be moved to temp.
The entire process of downloading the manifest and downloading the code etc has been performed and the application is getting installed and upgraded and redirected to. Success...