addEntry.js -> changed submit onClick function

It will now turn the data entered on the form into an easier to use data
structure.