Write JS view 'declaratively' :-)