Example showing the power of javascript function. Including callbacks, animation timers, closures, currying, memoization.