[javascript] Capture key press without placing an input element on the page?