Update slimmage.js

Wrap console.log in a try/catch to fix IE7/8 devtools bugs (they define console.log as an empty object instead of an empty function).