Javascript animation: Demo 4
setTimeout-based animation