Dear JSHint still complains about definition outside the returned object, I believe?