refine license, add js libs