Update panel.js