move routes to app.js
use jquery