Calendar: updated js according to new classes