Compress the map script