div>');
  $('#draggable').append('<div id="draggableLarge">L</div>');

  $('#draggableSmall').draggable();
  $('#draggableLarge').draggable();

  randomizeSquareLocs();

  d3.select('#query').html('Drag the smaller box so that it is completely inside the larger box.')
  d3.select('#subbtn').on('click', function(event, ui) { // end dragging
    var r = smallBoxContained() ? 1.0 : -1.0;
    core.endEpisode(r, r>0);
  })
}

window.onload = function() {
  core.startEpisode();
}
</script>
</head>
<body>
<div id=