Deleting unneeded html file
Added javascript to detect the enter click

And submit the appropriate event on the page.