add publish input_loading js