Finished Vigenere cipher in JS.