Serializes HTML Forms to JavaScript Documents