Fix bug where pretty dropdown change event wasn't firing; organize sample.js