adding an isArguments checker and enabling iteration (using each) over JS object hashes that have numeric length properties
(cherry picked from commit 5c314d206e2539d78b6e843e58e064e69145bad1)