Simple JavaScript flow control library