finished javascript for pushing ADA notes