Date Picker

Date Picker

I've downloaded the Date Picker Widget (which is awesome, btw) and am finding I am unable to make it work with the provided code (below).  I know pretty much nothing about Java.... Which leaves me stranded :(
<meta charset="UTF-8" />
<script type="text/javascript">
$(function() {

<div class="demo">

<p>Date: <input type="text" id="datepicker"></p>

</div><!-- End demo -->

<div class="demo-description">

<p>The datepicker is tied to a standard form input field.  Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.  Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>

</div><!-- End demo-description -->

If anyone can help, it would be very much appreciated! :)