This talk was given at Scotland.js, in Edinburgh, 2013.
A talk focussed on crafting JavaScript code for longevity, and how to best achieve that using unit testing and encapsulating your business logic as objects, rather than writing code in the "jQuery way".
Also presented are some techniques to ensure that JavaScript code is adaptable and loosely coupled.