curator.js

when cloneing curator.js was in an unmerged state,
tried to find out what it actualy shall do and tried to repair it