all tests pass in ff and chrome with jquery