                     :only_url =&gt; true %&gt;').wait().&#x000A;     script('&lt;%= include_js 'init.js', :only_url =&gt; true %&gt;').wait();&#x000A;&lt;/script&gt;&#x000A;&#x000A;# If you want to execute an inline &lt;script&gt; block that relies on any&#x000A;# of these dependencies, use the JS variable `window.$LABinst`.&#x000A;# Example (using jQuery to handle when DOM is ready):&#x000A;&lt;script&gt;&#x000A;window.$LABinst(function(){&#x000A;  console.log('JS dependencies are ready');&#x000A;  $(func