Does the JavaScript map method require a return statement in its callback function