It looks like you're new here. If you want to get involved, click one of these buttons!
CS does not seem to support optional/default arguments for javascript function?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters