better structure for parameters
dashboard.rb is fixed and is much cleaner
visits_js.erb uses new param names