fix(INDraft) issue with data checking in save caught by jshint