basic vigenere cipher using javascript