Required form widgets JavaScript.