IE 7 Fixes

Works great in IE7 once the trailing commas are removed.