Fixed the undefined varibale issue with the add view
Resolved JOINDIN-264
Modified the way the year drop down values are created