JS files compressing synchronously