eliminate unnecessary document dependency, allow mock jQuery to be injected