Updated jQuery loading and script block