I am getting the expected identifier, string or number error in IE-7.
There is no trailing comma in the code
// Merge defaults with options
options = (options) ? options : {};
options = copyProperties({logging:true},options);
var appId = options.appId || options.apiKey;
if (/number|string/.test(typeof appId)) {
Runtime.setClientID(appId.toString());
}
The error occour after the 2nd line
options = copyProperties({logging:true},options);