Javascript base validation.