EXOGTN-1375 Should not overwrite document.onclick in mini calendar javascript