add compress and mapjs