Implementing on lifecycle management and element default behaviors in YUI (Chinese)