This usually goes at the bottom, and should be in a document ready handler.