Fix error with Favorites Show Page, error on js compilation