Tiny JavaScript library for asynchronous exception handling