add nested resources to routes.rb
add jquery