make url controller respond to JSON requests; add jquery for processing AJAX request (first pass)