write inline docs and add yuidoc as grunt task