animation function moved to index.html, bug fixes: init after loading project & nulls in saved JSON