Sample of code used in TRBox lightweight JavaScript framework.