Update infinity.js

Just fixing a typo.