Added month switching functionality
Now all ajax calls return JSON responses