YUI js crypto certificate framework