add js reg post