passing: minor jquery refactoring and such.