Added drupalgap_form_local_storage_delete() and had _drupalgap_form_submit() use it at the end.