Demo html updates and shims

New updates for demo index and active.js shim. Still need to resolve
require library dependency loading issue.