format js add encode <\n>