fixed curator js in a way
pretifier.js became pure nodejs