modify converter to support the current version of KothicJS

The K.Utils.isStyleUseful syntax is no longer valid for KothicJS. I modified the converter script to play well with kothic-js master.