fix some JS validation bugs
update YUI compressor configuration and run a few tests
fix could not render chart bug