Support for the enter key submission, hand-crafted for a Mr. John Moore.