adds jquery script to index