Create classOf-smart.js