Update plugin JS interface