fixing javascript package files