Update plugin main js file