Replace some code with ido-vertical-mode

It does the same thing!
Use subword-mode in JS and Ruby