correcting style guide issues and YUI doc problems