Plain JavaScript method to convert a HTML form (fields and values) to JavaScript (multidimensional) object.