Named Parameters and default arguments for JS