checks to ensure that $box is within the live DOM on appendHTML