set 'suffixesadd' for javascript