in file names, replace dashes with underscores because javascript doesn't like dashes in its variables