improve Filter.js: cache size of image
improve index.html, main.js: initialize Twitter, Facebook quickly