Use charCodeAt instead of alphabet hash