chore: improve performance in some specific case in google chrome
chore: improve performance in some specific case in google chrome

This commit is expected to give the same final result

cheminfo/jcampconverter,cheminfo-js/jcampconverter,cheminfo-js/jcampconverter,cheminfo/jcampconverter