Change: Arguments object handling and for/in loops

The arguments object handling is changed to help improve performance.
Likewise, the for/in loop has been replaced with a for loop over
Object.keys().

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>