Trasfer text-muted class to javascript