Set "select option" (selected) within AJAX call in "document ready"

What database? Jekyll is a static site generator, there is no database.
For JavaScript help you might have better luck asking on Stackoverflow.