Restructured and modified the original demo app

Now only simple html+js and adapted for OSv