title: Javascript remotefunction won't work when at the bottom of the page
body: <p>I have remote function that NOT honor and stop working when I move jQuery scripts at the bottom of page (for page faster load). how can I fix it? thank You in advance.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;?php echo $ajax-&gt;remoteFunction(array('url' =&gt; array('controller' =&gt; 'posts', 'action' =&gt; 'go', $user_obj['User']['id']), 'update' =&gt; 'engagePost')); ?&gt;
  &lt;/script&gt;
  
  &lt;div id="engagePost"&gt;&lt;/div&gt;
  </code></pre>