reminder date set to accept amount passed from js