How to scale a JavaScript project over time:

  1. One file
  2. One function
  3. One class