Thanks for sorting that out, it's working! The behavior generated the name and ID with the space. Might be worth updating the tutorial download file too, as the checkbox code given in that doesn't have a value:
<input type="checkbox" name="checkbox" id="checkbox" />