wb js: add guard around wb js to prevent double-inits (such as from
fragments!)