added registry widget minify constructor and demo page