Edit-
Here's a working fiddle: http://jsfiddle.net/WZYzd/
You had a couple issues, the largest of which is that the option
element doesn't have a text
attribute, so I changed the filter like so:
options = $(subjects).filter(function() {
return $(this).text().indexOf(keyword) == 0;
});