compact in when import file
refix xompact and js