Compute music layout in GWT