Combine All Strings In Array Javascript Function Declaration