Create javascript insertion sort file