fix closure-compiler warnings