made web optimizations