HOW CAN I DECLARE OPTIONAL FUNCTION PARAMETERS IN JAVASCRIPT