Updating: improving the JSclock example