Minor fixes for compressing remote web-applications