+ Added last-case fallback for validation field naming.
o Cleaned up, commented, and reorganized JavaScript a bit.