boot an app in an app via javascript