A common way to organise client-side JavaScript.