JavaScript - Vowel checker in JavaScript