Added migration to change highscore/score to an integre instead of a string should've been that way all along. Moved the duties of the intial load of the scores over to a partial to save from doing the initial ajax request. Created a private method called load_highscores in the application controller for use everywhere. Also reformatted the score to add commas in the display bits the partial and js refresh.