fix path error for js libs