Minor fixes

- Fixing `utility.log()` for IE8 if called programatically
- Fixing `Array.prototype.clear()` for IE8