Fix Terminal

jQuery 1.9 removes browser detection, so we use a different method because this is not something you can easily do a feature test for.