Group or make a seperate file for the event handlers.
Put it in an function and add the function to the document.ready
src: http://www.jquerybyexample.net/2010/09/how-to-keep-your-jquery-code-clean.html