Minor ES5 strict mode compatibility improvements