JS async versions of the examples and tests