fix route error with match keyword
refactor js & controllers & rspec tests