Using grid rather than x and y in html client