An experiment to make HTML5 apps DRY(Don't Repeat Yourself) and Clean