aggregate.js: fix compatibilies with IE7