util.js: fix timer to not be global
util.js: fix timer to not be global

Fix an issue with concurrent animations by making 'timer' not a global.
In further work, find out about JS's 'strict mode' to avoid this sort of
blunder.

aevri/prospatho,aevri/prospatho