Update calendar.js

This is an onChange Event so you have to update the container data permissions.