Readme JS code update, plugin JS correction (refactor, release)