Update calendar.js

This is an onChange Event so you have to update the container data permissions.
Merge pull request #178 from libasys/patch-2

Update calendar.js