initial commit for js plugin