fix closure compiler warnings