Create YearView.js

create the year view js file