updated form and javascript files