added $.parseArguments

which brings together arguments of the same type