Process Queue library for Javascript