please don't inline the style, because packaged webapp doesn't allow inline style.

Use `this.capture.style.display = none` in js instead.