changed optimizeJPG to fs.readFileSync and fs.writeFileSync
cleaned log statement
Merge pull request #3 from janschlotte/master

fixed otimizeJPG