Always emit press & release on click to get javascript-based menus working and also link highlighting, minor cleanups

Change-Id: I681a40f94ba2d00cb4f53ff2ead08dedaca8fd4f