Fix closure compiler warnings

Can you review this CL?

I fixed warning messages generated when given code is compiled by Google's closure compiler.