The complanation of JS algorithms