fixes and update html panel2 example