Trying to help getting this to work with a link to a specific month

<http://jquerymobile.com/test/experiments/ui-datepicker/> 

I tried this

<http://jsfiddle.net/mplungjan/FQLjS/2/>

1. The default date is not the first of June
2. I have a visible calendar and another one onclick.
3. I get

> 
> Error:
>  $("#datePicker").datepicker("getDate").getMonth
>  is not a function  
> 
>  Source File: <http://fiddle.jshell.net/mplungjan/FQLjS/2/show/>  
> 
>  Line: 59
> 
> 
> 

What are the issues here?

Please note the added resources from the mobile jquery and mobile datepicker