How to count Vowels in a given string in javascript?