imported corrections from external work
updated to YUI compressor 2.4.7