Tidy filenames; improve syntax; use lp.jQuery instead of $