Fixed yuidoc warnings
Fixed various minor CS issues