Fixed issue caused if jquery is in no-conflict mode (aka $ is unbound)
Fixed issue #36 and issue #24 where the number of rows in the calendar widget could be wrong