more elegant solution html in lift