added jqueryui stuff for cool range sliders
removed repeated code in app.js