A structured way to craft client side Javascript.