Write all jQuery code within this function to avoid any potential bugs or problems
$(document).ready(function() { // jQuery code goes here });