Organizing javascript code
<p>I am making a javascript application. Normally what I do is make different modules and get users inputs or click events in <code>$(document).ready();</code> function. This works fine for small applications. But when I follow the same pattern, I mean getting click events in <code>$(document).ready();</code> then it gets messy. </p>

<p><strong>So how can I organize this file for a huge application?</strong></p>

<p>Thanks in advance</p>
