added notes model, javascript date select