The JavaScript client for Regard