Refactoring : moving js-schema to lib dir