https://www.wikitechy.com/technology/check-empty-string-javascript/