Add ShellSort JavaScript implementation and tests