Remove non-functional unit tests.
Revert promise code that brought little benefit at the expense of excluding older browsers.