Fix publishing through js -> used to generate signature inconsistently