add js for form