fixed js on register form