file fails to compress with yui compressor

char is a protected word and there a couple spots missing var.