title: Events before $(document).ready
body: <p>I have a functionality to hide controls conditionally before the document is loaded. If I put this functionality on <code>$(document).ready</code>, I see the page flickering to hide the controls conditionally. I would like to know if there is an event that can be called before <code>$(document).ready</code> is triggered.</p>