Implemented specified changes

1. Change the name of formObj to form
2. Used variable invalidForm which stores boolean value.
3. Removed method submitForm.
4. Used classList method to remove class "Normal".