Fix js plugin create