Chrome compatibility

Eliminate strict mode error