PEGjs for amber