produce optimized rjs blob