restore JS api
set and toggle orientation
set FEN
re-apply interactions after app/board redraw