Sketching the key actions.
Moving JavaScript to a dedicated file.
Adding search code. Fixing a bug.