Break the javascript out into its own file.
Add padding around textbox (key).