// The root URL for the RESTful services var rootURL = "/wines"; var currentWine; $(document).ready(function(){ //pupulate years combo for (i = new Date().getFullYear(); i > 1940; i--) { $('#year').append($('