The link below helped me solve the problem. Instead of filling the datalist all at once, I am filling it dynamically when user types something in the input control.
http://www.raymondcamden.com/index.cfm/2012/6/14/Example-of-a-dynamic-HTML5-datalist-control