trigger dirty on CM change
remove unused is_typing js util