made alert for project form error work, removed other stuff to make other JS errors go away