pulling out js for adddnote-ui