in class work javascript forms