Javascript Library for the open permit Spec