rem pgjs