flipped type and param in jsDoc
phil upped in tests
some missed type - param name flips