update to Rem.js