made the calendar show when its loading. Fixed the java script problem for picking dates
changed the custom class naming
Merge pull request #122 from maronin/issue#69

Fixed java script and made a loading message for calendar