New rendering code using smoothie.js .