doco and add document ready function
notes widget