add yui share lib support