Strict mode compatibility

This was more of a swap out than a fix, this was in the recommended example so we went with that.