docjs runs correctly