Put Js in external file, and made selection up to first of year possible