[jsf] basic template and minor layout changes