You can change some configuration live with JavaScript API.
This is usefull if you need to enable/disable features depending user profile.
Best exemple for this is disabling advertisement for premium users.
JavaScript API app.profile provides functions to change app behaviour:
You can disable advertisement for current user.
You can disable prefetch/sync of content for current user.