cookbook: fix "Focusing a TextField" component code and update jsbin

closes #1106