Fixed some issues with adding entries to the database.  Separated javascript and css from input and output html files.  Fixed database.updateEntry.