feat(js): trim long title and description