update error in loading js plugin