Mark param as optional (jsduck)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Merge remote-tracking branch 'origin/master' into capabilities-ui-rewrite