Add javascript insertion-sort solution and associated test