Moved jQuery to the bottom of the page which means we no longer needed $(document).ready. Other changes too that I can't recall. Confirm the changes before merging