Small js chess client