included jquery in a more logical place