Use $.each instead of Array.forEach since we support IE8