title: getting current year in a dropdown of years
body: <p>This is my dropdown in html</p>
  
  <pre><code>&lt;select name="select" class="form-control" id="dropdownYear" style="width: 120px;" onchange="getProjectReportFunc()"&gt;
      &lt;option value="2015"&gt;2015&lt;/option&gt;
      &lt;option value="2016"&gt;2016&lt;/option&gt;
      &lt;option value="2017" selected="selected"&gt;2017&lt;/option&gt;
      &lt;option value="2018"&gt;2018&lt;/option&gt;
      &lt;option value="2019"&gt;2019&lt;/option&gt;
      &lt;option value="2020"&gt;2020&lt;/option&gt;
  </code></pre>
  
  <p>I have hard coded the year values, i want to populate this dropdown
   with current year selected and 3 years before and after that.Eg for
   current year=2017 i want the list to be 2013-2020 with 2017
   automatically selected. How do i do this in js?</p>