yes, It is possible to resue the Java Script in Forms.
You can go to Form Editor -> Form Properties -> Add the JS Web Resource to the form library.
Then you will be able to choose the JS Web reosurce you want and set it to trigger on events in the Event handlers portion of the Form Properties dialog.
You can go to Edit and view the JS function that you want to use.
Thank you,
RBaliga