Completed Assignment

Added javascript to better handle the form fields in all browsers