Use jslint.
Default to 6 months, which seems ideal for ipad.
refactoring for jslint
Highlight the row and column that contains the selected cell.