Update script.js

Resets form upon each submit.