Call Javascript Function From Python To Latex