static S html_chessBoard(S position) { ret [[]] + loadJQuery() + [[]] + [[
]] + hjavascript([[ $(document).ready(function() { var cfg = { pieceTheme: 'http://tinybrain.de:8080/chessboard-js/img/chesspieces/wikipedia/{piece}.png', position: ]] + jsQuote(position) + [[ }; var board = ChessBoard('board1', cfg); });]]); }