updated dom example with new Bugle extends feature