Default function argument in JS