I like me create a easy system for search routing bus
I need this:
a) display a drop-down list of neighborhoods (origin) - bus 1, bus 2, bus 3
b) display a drop-down list of neighborhoods (destin) - bus 1, bus 2, bus 3
c) compare if the variables-bus in A and B are iqual and show this variable (the posible bus for go the neighborhood A to neighborhood B)
If your requirements grow, then perhaps a framework such as AngularJS, ember.js, react.js (my choice of moment - facebook.github.io/react/) or hell even good old backbone.js.