72 wire up javacript for year month date

There is a lot in here. I squashed all of the old code into one commit. There are some changes that seem unrelated.. let me know if I should clean out anything that is not related.