Fixing closure compiler warnings