// almost all of this stuff comes from the chessboard.js example page
var onDragStart = function(source, piece, position, orientation) {
var game = get_game();
// almost all of this stuff comes from the chessboard.js example page
var onDragStart = function(source, piece, position, orientation) {
var game = get_game();