compress and async client scripts