Use pagination directive
Update JavaScript tests
Include Rails tests for JSON score index response