arguments is a reserved word in javascript. Renamed it to args