rustdoc: web: fix js syntax

rustdoc: web: fix js syntax