Pure JS Validation Class