migrating JS to new catarse JS framework (missing specs)