curryRight chain and lift to be slightly more ideomatic to js