added JS click handling/highlighting and basic html form