Remove $.terminal.active test