more lock improvements.
swapped in an actually minified version of jquery.