Hook up HTML select functionality