Update bootstrap.js

-this is trying to figure out if the selectedProfile is default, if it is then it sets it to the defaultGroupId
-this is running updateProfToolkit on startup
-had to make updateProfToolkit return promise.then