Mark param as optional (jsduck)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>