JavaScript calculators for common scuba planning