can't we do something like:

1. check for Applications
2. check for Applications.ready
3. wait for window.addEventListener('applicationready')