Fun with Mortality Tables and Javascript