Update render.js

seeing if async ajax call stops the ui from locking up.