DOM serialization via redglass.js