Add Mem.js support for views and models