Use original GoogleClosure library repository for submodule.
Replace goog.dom.query usages with querySelector.
Replace goog.dom.classes usages with goog.dom.classlist.
Remove type annotation in iteration function.