moved jquery to tag