jquery tweaks
Merge pull request #925 from casualjim/jquery-fixes

tiny jquery tweaks