A Mutex locking system non-blocking for Javascript