correct js libs coping during compiling