Bugfix account editing: restored js validation