Calendar javascript works again