fix broken panels in js example