remove spaces from filenames of svg javascript files