added clear_board function
no need for form if we use jquery