example of javascript forms