local jquery; query strings now placed in file; formatted output