Build web application with less javascript by a data-oriented pattern.