you can `var layoutRow = (function(){}).bind(this);` to avoid the need for the `self` here