Fix spec in case strict mode is not supported.

In browsers that does not support `"use strict"` (including IE<=9), spec will fail.