Cannot comment on the HTML5 portion but some thoughts about the database: What database you use at the office? If it's for example SQL Server and the clients are all windows, it could be easier to use
Sql Server Compact Edition[
^]. For example a replication would be more easy to set up if you want to use that for synchronizing the data when connected.