added js to ingest form