Rework of externalized js dependencies. Inclusion of demo project