updated form js