add compression script and compressed js for public distro