Added in String.trim shim for IE8, fails without this.
Formatting fixes
Updated formatting

Replace single quotes with double quotes