Changes to handle the letter clicks through AJAX instead of re-loading the whole page everytime.