Added js-handler for Enter button at login and registration forms