Migration to new ring.js