add watermark, reformat js