added jquery to add new statement and show in index.  work in progress fixing tests