Consistently use $( document ).ready( fn ) everywhere