moved jquery to index