validation for year of publication jq.js