 <p>Have you tried creating your busy indicator object globally rather than inside this specific function (I also don't understand the scope of this "initialize" function... I assume this is app-specific code).</p> <p>In your app's .js file (yourProject\apps\yourApp\common\yourApp.js) do something like this:</p> <pre><code>var busy; function wlCommonInit() { busy = new WL.BusyIndicator(); </code></pre> <p>Then, in your <code>initialize()</code> function, call <code>busy.show()</code> and <code>busy.hide()</code> when required.</p>