integrated simplified data scopes

Also added steps to support named javascript references