js terminal works across all* browsers