Define TowerOfHanoi and TowerAnimation as global variables so JsHint will not complain