Move jquery from footer.php to header.php - .ready() function won't work otherwise