Implementing my 1999 video store refactoring example in JavaScript, with four different ways to compose the extracted functions.