JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<input id="test" type="text" />

JavaScript

$('#test').datepicker({
    yearRange: '-5:+5',
    changeMonth: true,
    changeYear:  true
});