calendar.js updated, contentObj is rretrieved from the scope, rather than using a new one