JS maintenance: save some variables.