Sync of version 3

initial sync of the javascript web app v3