bug on calendar navigation with firefox

Using the dash (-) on setDate fails on firefox and works in chrome, but the slash (/) works on both. 

I didn't check on safari, opera and IE, but I suspect this patch could fix the issue #5 because the syptom was the same on firefox.