re-indent JS; add ability to cancel submission and edit top choices