Update ulam.js

Fixed typos. Now loop animates. Hopefully ;-)