initial import book service JS code