remove dist js, add js modules separately, add update script