Pull req: #1554 #1790 adding needed parameter to AJAX call

&periodType=LATEST_YEAR_BY_COUNTRY