Initial commit of JS and Java demo apps