Convert controllers/anime_controller to JS