Change to comply with closure compiler ES5 strict mode

To not have to force compilation with ES5 strict mode in the closure compiler I propose the following change