When connect / enter is pressed the console shows the error TypeError: S(...).css(...) is undefined.
It looks like the whole script.js is reloaded. The root (function ($, window, document, undefined) from foundation.js is called again. This is probably caused by our submit trick: #12 (comment)