very basic layout achieved; javascript initialization code still buggy.