share js fix