Removed unused code from render.js
There we go, much better