An extension of the ph-scopes library for web environments