remove redundant argument from $.each which throws error in IE8