added checkbox to note view, controller, routes  and js