JavaScript calculator to estimate the ideal days available for a team to deliver given a release date