refine javascript lib name