added jQuery and factorial js. Made the form function by giving the factorial of the input in the output field when the submit button is clicked.