Library for using a readable blocking-like syntax with event-driven Javascript code