fix shared js