Jshint cleanup

A few small code changes to avoid assigning directly to arguments array
Otherwise, just whitespace and brace updates to match our house style