Refactor: Do not need to pass arguments

Whenever you are checking the length to determine a behavior, see if you
can check an attribute instead. For example: instead of checking the
length of arguments, check to see if the specific argument exist
directly:
if ( ! settings.end ) ...etc
This reads a lot better than:
if (arguments.length[2]) ...etc