Added length limits to the form inputs and removed an unnecessary IIFE from client.js