nice js for the form