Create klass.js

first version